public virtual void DeleteParts( IEnumerable<Part> coll )
Parameters
- coll
- a collection of Parts that are in this model
public virtual void DeleteParts( IEnumerable<Part> coll )
If the part's CanDelete method returns false, the part's data is not removed from the model.
This just calls Northwoods.GoXam.Model.IDiagramModel.RemoveNode and Northwoods.GoXam.Model.IDiagramModel.RemoveLink (or Northwoods.GoXam.Model.ILinksModel.RemoveLink) as needed.
This does not raise any Diagram events. Call CommandHandler.Delete if you want to delete the current selection with the normal events. (It calls this method.)